package com.sdy.resdir.biz.service.impl;

import com.sdy.resdir.biz.model.RdDbApp;
import com.sdy.resdir.biz.mapper.RdDbAppMapper;
import com.sdy.resdir.biz.service.RdDbAppService;
import com.sdy.mvc.service.impl.BaseServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author cgj
 * @since 2020-01-02
 */
@Slf4j
@Service
public class RdDbAppServiceImpl extends BaseServiceImpl<RdDbApp> implements RdDbAppService {
    @Autowired
    private RdDbAppMapper rdDbAppMapper;

    /**
     * 申请单批量新增资源信息
     * @param applyNum
     * @param list
     * @return
     */
    @Override
    public Boolean addBetch(String applyNum, List<RdDbApp> list) {
        return rdDbAppMapper.addBetch(applyNum, list);
    }
}
